#ifndef ADDWIDGET_H
#define ADDWIDGET_H

#include <QDialog>
#include<graph.h>
namespace Ui {
class Addwidget;
}

class Addwidget : public QDialog
{
    Q_OBJECT

public:
    explicit Addwidget(Graph *t,QWidget *parent = nullptr);
    ~Addwidget();
    Graph *tmp;
private slots:
    void on_pushButton_OK_clicked();

    void on_pushButton_cancel_clicked();

private:
    Ui::Addwidget *ui;
};

#endif // ADDWIDGET_H
